import request from '@/utils/request'

// 查询厂内运输车辆信息库列表
export function listInplantTransportVehicleData(query) {
  return request({
    url: '/door/inplantTransportVehicleData/list',
    method: 'get',
    params: query
  })
}

// 查询厂内运输车辆信息库详细
export function getInplantTransportVehicleData(id) {
  return request({
    url: '/door/inplantTransportVehicleData/' + id,
    method: 'get'
  })
}

// 新增厂内运输车辆信息库
export function addInplantTransportVehicleData(data) {
  return request({
    url: '/door/inplantTransportVehicleData',
    method: 'post',
    data: data
  })
}

// 修改厂内运输车辆信息库
export function updateInplantTransportVehicleData(data) {
  return request({
    url: '/door/inplantTransportVehicleData',
    method: 'put',
    data: data
  })
}

// 删除厂内运输车辆信息库
export function delInplantTransportVehicleData(id) {
  return request({
    url: '/door/inplantTransportVehicleData/' + id,
    method: 'delete'
  })
}
